package com.hopu.mybatis.service;

import com.hopu.mybatis.entity.TbBook;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * Book表持久层接口
 */
public interface IBookService {

    void add(TbBook book);

    void update(TbBook book);

    void delete(Long bookId);

    TbBook selectById(Long id);

    List<TbBook> selectAll();
}
